package com.leyou.vo;

import com.leyou.entity.SkuEntity;
import com.leyou.entity.SpuDetailEntity;
import lombok.Data;

import java.util.List;

public class GoodsVo {

    /**
     * brandId: 18374
     * cid1: 74
     * cid2: 75
     * cid3: 76
     * skus: [,…]
     * 0: {price: 12800, stock: "1000", indexes: "0", enable: true, title: "小米移动电源3 原装20000毫安 USB-C 18W双向快充版 白色",…}
     * enable: true
     * images: ""
     * indexes: "0"
     * ownSpec: "{"4":"白色"}"
     * price: 12800
     * stock: "1000"
     * title: "小米移动电源3 原装20000毫安 USB-C 18W双向快充版 白色"
     * 1: {price: 12800, stock: "3553", indexes: "1", enable: true, title: "小米移动电源3 原装20000毫安 USB-C 18W双向快充版 红色",…}
     * 2: {price: 12800, stock: "56", indexes: "2", enable: true, title: "小米移动电源3 原装20000毫安 USB-C 18W双向快充版 蓝色",…}
     * spuDetail: {packingList: "移动电源*1、USB数据线*1、说明书*1", afterService: "本商品质保周期为1年质保，在此时间范围内可提交维修申请，具体请以厂家服务为准。",…}
     * afterService: "本商品质保周期为1年质保，在此时间范围内可提交维修申请，具体请以厂家服务为准。"
     * description: "<p><span style="color: rgb(228, 57, 60);">双向快充，双USB输出，高品质锂聚合物电芯【小米10000毫安USB-C快充版，双口输入输出】</span></p>"
     * genericSpec: "{"1":"红米","2":"小米移动电源3 20000mAh USB-C双向快充版","3":"2019","5":"434g","18":"20000mAh"}"
     * packingList: "移动电源*1、USB数据线*1、说明书*1"
     * specialSpec: "{"4":["白色","红色","蓝色"],"12":[],"13":[]}"
     * subTitle: "容量大"
     * title: "小米移动电源3 原装20000毫安 USB-C 18W双向快充版"
     */

    private  Long id ;
    private  Long brandId;
    private  Long cid1;
    private  Long cid2;
    private  Long cid3;

    private  String subTitle;

    private String title;

    private List<SkuVo> skus;

    private SpuDetailEntity spuDetail;


    public Long getBrandId() {
        return brandId;
    }

    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }

    public Long getCid1() {
        return cid1;
    }

    public void setCid1(Long cid1) {
        this.cid1 = cid1;
    }

    public Long getCid2() {
        return cid2;
    }

    public void setCid2(Long cid2) {
        this.cid2 = cid2;
    }

    public Long getCid3() {
        return cid3;
    }

    public void setCid3(Long cid3) {
        this.cid3 = cid3;
    }

    public String getSubTitle() {
        return subTitle;
    }

    public void setSubTitle(String subTitle) {
        this.subTitle = subTitle;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public List<SkuVo> getSkus() {
        return skus;
    }

    public void setSkus(List<SkuVo> skus) {
        this.skus = skus;
    }

    public SpuDetailEntity getSpuDetail() {
        return spuDetail;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setSpuDetail(SpuDetailEntity spuDetail) {
        this.spuDetail = spuDetail;
    }
}
